package com.heima.media.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.heima.common.dto.ResponseResult;
import com.heima.media.dto.ChannelDto;
import com.heima.media.entity.WmChannel;

/**
 * @Author WSJ
 * @Date 2022-03-09-14:49
 * @Version 1.0 （版本号）
 */
public interface IWmChannelService extends IService<WmChannel> {
    ResponseResult listByName(ChannelDto dto);

    ResponseResult saveChannel(WmChannel channel);

    ResponseResult listByStatus();

    ResponseResult updateChannel(WmChannel dto);

    ResponseResult deleteById(Integer id);
}
